﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContentWorkFlow_list.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.ContentWorkFlow_list" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>投稿流程管理-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js"  type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js"  type= "text/javascript"></script>
</head>
<body>
<form id="form1" runat="server" >


<table class="table_form" >
    <caption>投稿流程</caption>
    <tbody>
        <tr> 
          <th class="DataLeftTitle"><strong>投稿流程名称</strong></th>
          <td>
              <cms:TextBox   ID="txtName" runat="server" required="1" prompt="投稿流程名称" valuelength="20"  ControlValueType="String" ></cms:TextBox>
              <span class="FontWarn">*</span>
              <span class="sp_tiptitle">不能超过20个汉字或字符！</span>
          </td>
        </tr>
        <tr> 
          <th width="20%"><strong>描述</strong></th>
          <td>
             <cms:TextBox ID="txtDescription"  runat="server"  valuelength="500"  MaxLength="500"  ControlValueType="String"></cms:TextBox>              
          </td>
        </tr>
        
        <tr> 
          <th></th>
          <td>
              <cms:Button  CssClass="button_style" ID="btnSubmit"  Text="确定" OnClientClick="return CheckForm(this.form);"    runat="server" onclick="btnSubmit_Click" />
              <input class="button_style" name="reset"  onclick="$('#Form').resetForm();" value="清除" type="reset"> 
          </td>
        </tr>
    </tbody>
 </table>
<BR>

<table class="table_list">
  <caption><%=m_strTitle%></caption>
    <tbody>
        <tr align="center">
            <th class="rptlistTitle">
        	    <strong>
            	    投稿流程名称
                </strong>
            </th>
            <th ><strong>描述</strong></th>             
            <th ><strong>操作</strong></th>
        </tr>
        <cms:Repeater ID="rptList" runat="server" >
	        <ItemTemplate>
	        <tr class="">
                <td class="align_c" align="center"><%# Eval("Name")%></td>
                <td class="align_c"><%# Eval("Description")%></td>
                <td class="align_c">
                  	     <a  href="javascript:show_dialog('ContentWorkFlow_save.aspx?id=<%#Eval("ContentWorkFlowId")%>',500,400);"  >修改</a>
         		         | 
                         <cms:LinkButton ID ="lbtnDelete" runat="server" Text ="删除" OnClick ="lbtnDelete_Click" CommandArgument='<%#Eval("ContentWorkFlowId") %>' OnClientClick="return confirm('你确定要删除吗？');"></cms:LinkButton>

                 </td>
            </tr>
	        </ItemTemplate>
	   </cms:Repeater>
    </tbody>
</table>
</form>
</body>
</html>
